package com.my.vote.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.sskj.core.entity.BaseEntity;

/**
 * 投票范围
 * 
 * @author chenliang
 *
 */
@Entity
@Table(name = "vote_area")
public class VoteArea extends BaseEntity {

	private static final long serialVersionUID = -8482602856515921901L;

	/** 投票主题Id */
	@Column(length = 36)
	private String subjectId;

	/** 投票范围(小区id) */
	@Column(length = 36)
	private String area;

	@Column
	private boolean delFlag;

	public String getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(String subjectId) {
		this.subjectId = subjectId;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public boolean isDelFlag() {
		return delFlag;
	}

	public void setDelFlag(boolean delFlag) {
		this.delFlag = delFlag;
	}

}
